package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetOneItemRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetOneItemPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetOneItemDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetOneItemDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetOneItemDomainImpl extends BaseDomainImpl<BudgetOneItemDto, BudgetOneItemPo> implements BudgetOneItemDomain {

    @Resource
    private BudgetOneItemRepository budgetOneItemRepository;

    @Override
    public BaseRepository<BudgetOneItemPo> getMapper() {
        return budgetOneItemRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetOneItemPo>> getRepositoryClass() {
        return BudgetOneItemRepository.class;
    }

}
